<div class="user auto fn-clear">
<div class="rbox fn-r fn-f14">
    <span class="f16">已有账号？请直接登录</span><br />
    <a href="{url('user/index')}" class="ui-btn ui-btn-login2" title="登录">登录</a><br/><br/>
    <span class="f16">你也可以用其他账号登录：</span><br/>
    <a href="{url('user/openid',array('api'=>'sina'))}" class="ui-icon ui-icon-sina">新浪微博</a>
    <a href="{url('user/openid',array('api'=>'qq'))}" class="ui-icon ui-icon-qq">QQ 账号</a>
</div>
<div class="lbox fn-l">
    <h3>注册</h3>
    <form id="form" action="{url('user/register')}" class="fn-clear">
    <ul>
      <li><label>帐号:</label><input ajaxurl="{url('user/valid')}" datatype="s6-18" type="text" name="account" class="input name" /></li>
      <li><label>密码:</label><input datatype="*6-16" type="password" name="password" class="input pass" /></li>
      <li><label>确认密码:</label><input datatype="*" recheck="password" type="password" name="checkpassword" class="input pass" /></li>
      <li><label>验证码:</label><input ajaxurl="{url('user/checkcode')}" datatype="*" type="text" name="checkcode" class="input"/><img src="{url('user/verify')}" align="top" id="verifyImg" title="看不清楚，换个图片" onclick="this.src='{url('user/verify')}&'+Math.random();" /></li>
      <li><input type="submit" value="注册" class="ui-btn ui-btn-reg submit" /></li>
    </ul>
    </form>
    </form>
</div>
</div>
<script language="javascript">
Do('base','Dialog','Form',function(){ 
    $('#form').cpFormPage();
}) 
</script>